package org.aldar.bquest.constants;

/**
 * @author Qingfeng
 * @time 2010-11-03
 */
public interface IConstants extends ISettings {
    // ===========================================================
    // Final Fields
    // ===========================================================

    public static final int CAMERA_WIDTH = 480;
    public static final int CAMERA_HEIGHT = 800;

    public static final int GROUND_Y = CAMERA_HEIGHT - 193;

    public static final int CELLS_HORIZONTAL = 10;//TODO was 8
    public static final int CELLS_VERTICAL = CELLS_HORIZONTAL;

    public static final float CELL_WIDTH = (CAMERA_WIDTH / 10.3f);//TODO was 40
    public static final float CELL_HEIGHT = CELL_WIDTH;

    public static final int DAY_DURATION_SECONDS = 60;
    public static final float DAYLIGHT_DURATION_PERCENTAGE = 0.5f;

    final int NON_ADJACENT = -1;
    static final int NON_ADJACENT_SAME = 0;
    static final int ADJACENT_VERTICAL = 1;
    static final int ADJACENT_HORIZONTAL = 2;

    static int defaultManaInitialAmount = 50;
    static int maxManaAmount = 100;
    static int manaUseForMatch = 3;

    static int[][] MAP_FILLING = new int[][]{
            new int[]{0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
            new int[]{0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
            new int[]{0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
            new int[]{0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
            new int[]{1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
            new int[]{0, 1, 1, 1, 1, 1, 1, 1, 1, 1},
            new int[]{0, 0, 1, 1, 1, 1, 1, 1, 1, 1},
            new int[]{0, 0, 0, 1, 1, 1, 1, 1, 1, 1},
            new int[]{0, 0, 0, 0, 1, 1, 1, 1, 1, 1},
            new int[]{0, 0, 0, 0, 0, 1, 1, 1, 1, 1}
    };

    static int totalTilesCount = 60;

    static float CRYSTAL_COLLECT_DURATION = 1.5f;
}
